# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=bankstown-lv2
pkgver=1.1.0
pkgrel=0
pkgdesc="A barebones, fast LV2 bass enhancement plugin"
url="https://crates.io/crates/bankstown-lv2"
arch="aarch64" # for now needed only aarch64/apple silicon
license="MIT"
makedepends="cargo cargo-auditable"
source="$pkgname-$pkgver.tar.gz::https://github.com/chadmed/bankstown/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/"bankstown-$pkgver

build() {
	cargo auditable build --release
}

check() {
	cargo test --frozen
}

package() {
	make DESTDIR=$pkgdir LIBDIR=/usr/lib install
}

sha512sums="
74dbb96440f0260e08b3f96b28c310326d63bdb4360d4f43f2e1f9c89ff9c0fd4f3c81c78837e64df77e16034e28a23be217b647f3008cf5293c959a26f895d2  bankstown-lv2-1.1.0.tar.gz
"
